package com.example.fitnessservice.service;

import com.example.fitnessservice.module.pojo.CourseApply;

import java.util.Date;
import java.util.List;

/**
 * @author feng
 * @version 1.0
 * @&#064;description: TODO
 * @&#064;date 2022/11/25 14:44
 */
public interface EnterForCampService {
    boolean updateCourseStatus(Date date);

    boolean submitApplication(String reason, Integer campCourseId, Integer userId);

    boolean join(Integer userId, Integer campCourseId, Integer courseCampIf);

    boolean getCourseInfo(Integer userId, Integer courseId, Integer courseCampIf);

    boolean latestTimeLimit(Integer courseId);


    boolean whetherApply(Integer courseId);

    boolean cancelCourse(Integer userId, Integer courseId, Integer courseCampIf);

    Integer getCourseQuantity(Integer campCourseId);


    List<CourseApply> getPersonalApplyStatus(Integer userId, Integer applyStatus);


    boolean returnMoney(Integer applyId, Integer campCourseId, Integer userId);
}
